<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html class="wrap">

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>教师制作章节修改</title>
		<link rel="stylesheet" type="text/css" href="pc/css/cores/style.css" />
		<link rel="stylesheet" type="text/css" href="pc/css/extends/list.css" />
		<link rel="stylesheet" type="text/css" href="pc/css/cores/alert.css" />
		<link rel="stylesheet" type="text/css" href="pc/css/cores/public.css" />
		<link rel="stylesheet" type="text/css" href="pc/css/extends/editormd.css">
		<link rel="stylesheet" type="text/css" href="pc/css/extends/trumbowyg.css" />
		<link type="text/css" rel="stylesheet" href="pc/css/extends/katex.min.css">
		<link rel="stylesheet" href="pc/css/modules/chapterEdit.css?f=<%=System.currentTimeMillis()%>" />
		<script  type="text/javascript" src="pc/js/extends/katex.min.js"></script>
	</head>

	<body>
		<div class="crumbs">
			<div class="fl returnBox">&ensp;<img src="pc/images/ico_return.png" alt="返回按钮" />&ensp;
                <a class="looktg" data-url="chapterMake" href="javascript:;">返回上一页</a>
			</div>
			<div class="fl noticeBox"><img src="pc/images/ico_trumpet.png" />
				<div class="noticeBar">
					<ul>
						<li>当前暂无消息</li>
					</ul>
				</div>
			</div>
		</div>
		<div class="clear"></div>
		<div class="mainContent">
			<div class="funBox">
				<div class="fl inputRight"><label for="departNames">章节名称：</label>
					<h4 id="departNames" ></h4>
				</div>
				<div class="fl inputRight"><label for="chapterType">章节类型：</label>
					<input style="border: none;" disabled autocomplete="off" maxlength="20" type="text" class="publicText" id="chapterType" />
				</div>
			</div>
			<div class="clear"></div>
			<div class="contentBox">
				<ul class="navBox">
					<li class="courseWareBtn">学习课件</li>
					<li class="homeworkBtn">课后作业</li>
					<li class="courseMaterialBtn">备课材料</li>
					<li class="videoBtn">学习视频</li>
					<li class="expreBtn">实验报告</li>
					<li class="testDocBtn">实验手册</li>
                    <li class="packageFileBtn">课程材料</li>
				</ul>
			</div>
			<div class="section">
				<div class="courseWareSection">
					<label style="width: 140px;" for="courseware">上传课件</label>
					<h5></h5>
					<form  enctype="multipart/form-data">
						<input type="file" data-type=".pptx" data-url="addChapterCourseWare" data-size="50" name="courseware" id="courseware" class="file"  style="display: none;" />
					</form>
					<div class="tip"><span>提示：</span>仅支持PPTX格式文件上传</div>
				</div>
                <div class="homeworkSection">
                    <label  style="width: 140px;" for="homeworkexcel">上传作业</label><h4><a download href="xlsStandard/homework.xlsx">模板下载<img src="pc/images/ico_modelDownImg.png" alt=""></a></h4>
                    <h5></h5>
                    <form  enctype="multipart/form-data">
                        <input type="file"  data-size="50" data-url="addChapterHomework" name="homeworkexcel" id="homeworkexcel" class="file"  style="display: none;" />
                    </form>
                    <div class="tip"><span>提示：</span>仅支持EXCEL文件上传</div>
                </div>
				<div style="padding: 0;" class="courseMaterialSection">
					<div id="layouts">
						<header>
							<h4 class="fl saveMar">保存</h4>
						</header>
						<div id="MarEditormd">
							<textarea style="display:none;"></textarea>
						</div>
					</div>
				</div>
                <div class="videoSection">
                    <label style="width: 140px;"  for="video">上传视频</label>
					<h5></h5>
                    <form  enctype="multipart/form-data">
                        <input type="file" data-type=".mp4" data-url="addChapterVideo" name="video" id="video" class="file"  style="display: none;" />
                    </form>
                    <div class="tip"><span>提示：</span>仅支持MP4格式文件上传</div>
                </div>
				<div style="padding: 0" class="expreexcelSection">
					<div id="layoutr">
						<header>
							<h4 class="fl saveReport">保存</h4>
						</header>
						<div class="edit"></div>
					</div>

					<%--<label for="expreexcel">上传实验报告</label><h4><a download href="xlsStandard/exprement.xls">模板下载<img src="pc/images/ico_modelDownImg.png" alt=""></a></h4>--%>
					<%--<h5></h5>--%>
					<%--<form  enctype="multipart/form-data">--%>
					<%--<input type="file"  data-size="50" data-url="addChapterExpreexcel" name="expreexcel" id="expreexcel" class="file"  style="display: none;" />--%>
					<%--</form>--%>
					<%--<div class="tip"><span>提示：</span>仅支持EXCEL文件上传</div>--%>
				</div>
				<div style="padding: 0;" class="testNameSection">
					<div id="layout">
						<header>
							<h4 class="fl saveLab">保存</h4>
							<h4 class="fr enterLab">实验环境</h4>
						</header>
						<div id="LabEditormd">
							<textarea style="display:none;"></textarea>
						</div>
					</div>
				</div>
                <div class="packageFileSection">
                    <label for="packageFile">上传课程材料</label>
					<h5></h5>
                    <form  enctype="multipart/form-data">
                        <input type="file"  data-size="50" data-url="addChapterPackageFile" name="packageFile" id="packageFile" class="file"  style="display: none;" />
                    </form>
                    <div class="tip"><span>提示：</span>仅支持ZIP,RAR格式文件上传</div>
                </div>
			</div>
			<div class="clear"></div>
		</div>
		<div class="mb"></div>
		<div class="popup">
			<div class="popup_box">
				<div style="text-align: left" class="popup_contenthead">模板配置<img class="popup_img" src="pc/images/ico_alertDel.png"></div>
				<div class="popup_content">
					<div class=""><label>类&emsp;&emsp;型:&ensp;</label>
						<span class="form-control form-controls" style="box-shadow: none;">
                            <span  data-value="1" class="type radio radioCheck">单节点&emsp;</span>
                            <span  data-value="2" class="type radio">集群</span>
				         </span>
						<div class="clear"></div>
					</div>
					<div class="come"><label>来&emsp;&emsp;源:&ensp;</label>
						<span class="form-control form-controls" style="box-shadow: none;">
                            <span  data-value="1" class="types radio radioChecks">系统预置</span>
                            <span  data-value="2" class="types radio">教师制作</span>
				        </span>
						<div class="clear"></div>
					</div>
					<div class="imageBox"><label for="oneImage">镜像名称:&ensp;</label>
						<select name="" id="oneImage" class="publicSelect"></select>
					</div>
					<div class="imageBox"><label for="oneConfig">虚机配置:&ensp;</label>
						<select name="" id="oneConfig" class="publicSelect">
							<option value="2,2">CPU上限 2核 内存上限 2G</option>
							<option value="2,4">CPU上限 2核 内存上限 4G</option>
							<option value="2,6">CPU上限 2核 内存上限 6G</option>
							<option value="2,8">CPU上限 2核 内存上限 8G</option>
							<option value="4,2">CPU上限 4核 内存上限 2G</option>
							<option value="4,4">CPU上限 4核 内存上限 4G</option>
							<option value="4,6">CPU上限 4核 内存上限 6G</option>
							<option value="4,8">CPU上限 4核 内存上限 8G</option>
							<option value="4,16">CPU上限 4核 内存上限 16G</option>
							<option value="4,32">CPU上限 4核 内存上限 32G</option>
						</select>
					</div>
					<div class="imagesBox"><label for="images">集群名称:&ensp;</label>
						<select name="" id="images" class="publicSelect"></select>
					</div>
					<div style="text-align: center;" class="imagesBox"><label style="float: none;" for="images">虚拟机配置</label>
					</div>
					<div class="imagesBox"><label for="imagesFir">&emsp;主节点:&ensp;</label>
						<select name="" id="imagesFir" class="publicSelect">
							<option value="2,2">CPU上限 2核 内存上限 2G</option>
							<option value="2,4">CPU上限 2核 内存上限 4G</option>
							<option value="2,6">CPU上限 2核 内存上限 6G</option>
							<option value="2,8">CPU上限 2核 内存上限 8G</option>
							<option value="4,2">CPU上限 4核 内存上限 2G</option>
							<option value="4,4">CPU上限 4核 内存上限 4G</option>
							<option value="4,6">CPU上限 4核 内存上限 6G</option>
							<option value="4,8">CPU上限 4核 内存上限 8G</option>
							<option value="4,16">CPU上限 4核 内存上限 16G</option>
							<option value="4,32">CPU上限 4核 内存上限 32G</option>
						</select>
					</div>
					<div class="imagesBox"><label for="imagesSec">&ensp;从节点1:&ensp;</label>
						<select name="" id="imagesSec" class="publicSelect">
							<option value="2,2">CPU上限 2核 内存上限 2G</option>
							<option value="2,4">CPU上限 2核 内存上限 4G</option>
							<option value="2,6">CPU上限 2核 内存上限 6G</option>
							<option value="2,8">CPU上限 2核 内存上限 8G</option>
							<option value="4,2">CPU上限 4核 内存上限 2G</option>
							<option value="4,4">CPU上限 4核 内存上限 4G</option>
							<option value="4,6">CPU上限 4核 内存上限 6G</option>
							<option value="4,8">CPU上限 4核 内存上限 8G</option>
							<option value="4,16">CPU上限 4核 内存上限 16G</option>
							<option value="4,32">CPU上限 4核 内存上限 32G</option>
						</select>
					</div>
					<div class="imagesBox"><label for="imagesThi">&ensp;从节点2:&ensp;</label>
						<select name="" id="imagesThi" class="publicSelect">
							<option value="2,2">CPU上限 2核 内存上限 2G</option>
							<option value="2,4">CPU上限 2核 内存上限 4G</option>
							<option value="2,6">CPU上限 2核 内存上限 6G</option>
							<option value="2,8">CPU上限 2核 内存上限 8G</option>
							<option value="4,2">CPU上限 4核 内存上限 2G</option>
							<option value="4,4">CPU上限 4核 内存上限 4G</option>
							<option value="4,6">CPU上限 4核 内存上限 6G</option>
							<option value="4,8">CPU上限 4核 内存上限 8G</option>
							<option value="4,16">CPU上限 4核 内存上限 16G</option>
							<option value="4,32">CPU上限 4核 内存上限 32G</option>
						</select>
					</div>
					<div class="clear"></div>
				</div>
				<div class="clear"></div>
				<div class="popup_btn">
					<a  class="popup_confirm exportBtn publicBtn hover-btn">确定</a>
					<a class="popup_close exportCancle hover-btn">取消</a>
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<script>
			var result = '${result}';
			result = JSON.parse(result);
		</script>
		<script src="pc/js/extends/jquery-1.11.2.min.js"></script>
		<script src="pc/js/extends/jquery.page.js"></script>
		<script src="pc/js/cores/Alert.js"></script>
		<script src="pc/js/cores/public.js"></script>
		<script src="pc/js/extends/editormd.js"></script>
		<script src="pc/js/extends/trumbowyg.js"></script>
		<script src="pc/js/extends/trumbowyg.base64.js"></script>
		<script src="pc/js/modules/chapterEdit.js?f=<%=System.currentTimeMillis()%>"></script>
	</body>

</html>